package mysql

import "gorm.io/gorm"

type Topic struct {
	gorm.Model
	TopicName  string `gorm:"type:varchar(50);not null;comment:'话题名称'"`
	TopicIntro string `gorm:"type:varchar(500);comment:'话题描述'"`
	TopicLevel int64  `gorm:"type:int(11);default:0;comment:'话题热度'"`
}
